StupidBeauty
Read times:778Posted at:Sun Sep 8 19:10:25 2013
- no title specified

转载:“warning: this decimal constant is unsigned only in ISO C90”的解决办法

标题中所说的这个警告,一般在妳于代码中使用咯一个其值特别大的整数型常量时出现,解决办法就是明确告诉编译器妳要求将这个常量作为一种更大容量的数据类型的常量对待。例如,4294907157这个大常量就写成4294907157U,表示要明确将它当成无符号整型常量来对待。

http://www.cnblogs.com/heart-runner/archive/2011/12/16/2290204.html

亮点:

强制转型

unsigned int i = 2394967295U ;


徐静蕾

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands